package com.entity;

/**
 * @author 羡羡
 */
public class User {
    public int uid;
    public String uname;
    public String upass;
    public String head;

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getUpass() {
        return upass;
    }

    public void setUpass(String upass) {
        this.upass = upass;
    }

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head;
    }

    public User() {
    }

    public User(int uid, String uname, String upass, String head) {
        this.uid = uid;
        this.uname = uname;
        this.upass = upass;
        this.head = head;
    }

    @Override
    public String toString() {
        return "User{" +
                "uid=" + uid +
                ", uname='" + uname + '\'' +
                ", upass='" + upass + '\'' +
                ", head='" + head + '\'' +
                '}';
    }
}
